/**
 * BuyLocal Main Stylesheet
 *
 * @category BuyLocal
 * @package  BuyLocal
 * @author   Kevin Fodness <kevin.fodness@gmail.com>
 * @author   Mike Pennisi <mpennisi@andrew.cmu.edu>
 * @author   Aaron Ryden <aryden@gmail.com>
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
 * @link     http://code.google.com/p/buylocalopensourcerensselaer/
 */

@media all
{
    /* Font Settings */
    
    html, body, table, tr, td, form, input, select, option {
        font-family: helvetica, verdana, arial, sans-serif;
    }
    
    html, body, table, tr, td, form, input, select, option {
        font-size: 100%;
    }
    
    #search div label, #search div input, #search div select {
        font-size: 85%;
    }
    
    a, label, input.button, p.alert, p.success {
        font-weight: bold;
    }
    
    a:hover, #header h1 a {
        text-decoration: none;
    }
    
    a {
        text-decoration: underline;
    }
    
    #header h1 a {
        text-indent: -2000em;
    }
    
    /* Alignment Settings */
    
    .centered, div.loginregister, #search div, #navigation, #footer ul li,
    div.pagination, form div {
        text-align: center;
    }
    
    #navigation ul {
        text-align: left;
    }
    
    form div label {
        text-align: right;
    }
    
    /* Border, Margin, & Padding Settings */
    
    html, body, img {
        border: 0;
    }
    
    input, textarea, input.button, ul.stores li img, #map_canvas, .catTable, 
    .catRowEven, .catRowOdd {  
        border-style: solid;
    }
    
    #navigation, #navigation ul, ul.stores li, ul.stores li div, .catTable {
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
    }
    
    div.loginregister {
        border-bottom-left-radius: 10px;
        -moz-border-radius-bottomleft: 10px;
        -webkit-border-bottom-left-radius: 10px;
    }
    
    #search div {
        border-top-left-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -webkit-border-top-left-radius: 10px;
    }
    
    #search div {
        border-top-right-radius: 10px;
        -moz-border-radius-topright: 10px;
        -webkit-border-top-right-radius: 10px;
    }
    
    input, textarea, input.button, ul.stores li img, #map_canvas, .catRowEven, 
    .catRowOdd {
        border-width: 1px;
    }
    
    .catTable {
        border-width: 3px;
    }
    
    #footer {
        border-bottom-width: 0;
    }
        
    html, body, img, tr, td, th, #header h1, ul.stores li h2, #search div {
        margin: 0;
    }
    
    #navigation ul {
        margin: 5px;
    }
    
    #navigation h2, form div {
        margin: 10px;
    }
    
    div.loginregister {
        margin: -168px 0px 0px 577px;
    }
    
    #search div {
        margin: 108px 0px 0px 62px;
    }
    
    ul.stores li div p, #footer {
        margin-bottom: 0;
    }
    
    #navigation, ul.stores li {
        margin-bottom: 10px;
    }
    
    body {
        margin-left: -390px;
    }
    
    #navigation {
        margin-top: 10px;
    }
    
    ul.stores li img {
        margin-top: 20px;
    }
    
    html, body, img, table, #footer ul, ul.stores {
        padding: 0;
    }
    
    #navigation ul, ul.stores li, ul.stores li div {
        padding: 10px;
    }
    
    #footer ul {
        padding: 75px 0px 0px 10px;
    }
    
    #footer {
        padding-bottom: 0;
    }
    
    #content {
        padding-left: 5px;
    }
    
    div.pagination a, div.pagination strong {
        padding-right: 3px;
    }
    
    #content {
        padding-right: 5px;
    }

    /* Color Settings */
    
    ul.stores li ul li {
        background: none;
    }
    
    input.button {
        background-color: #034513;
    }

    div.loginregister, #search div, #navigation, ul.stores li, .catTable {
        background-color: #9c8c6c;
    }
    
    #navigation ul, ul.stores li div, .catRowOdd {
        background-color: #cccccc;
    }
    
    .catRowEven {
        background-color: #ffffff;
    }
    
    input, textarea, input.button, ul.stores li img, #map_canvas {
        border-color: #000000;
    }
    
    .catTable {
        border-color: #9c8c6c;
    }
    
    .catRowEven {
        border-color: #888888;
    }
    
    .catRowOdd {
        border-color: #666666;
    }
    
    a {
        color: #034513;
    }

    a:hover, p.success {
        color: #009900;
    }
    
    p.alert, span.asterisk {
        color: #ff0000;
    }
    
    input.button {
        color: #ffffff;
    }
    
    /* Dimensions, Display, & Positioning Settings */
    
    #footer {
        bottom: 0;
    }
    
    .hidden, .print {
        display: none;
    }
    
    #header h1 a {
        display: block;
    }
    
    div.loginregister {
        height: 25px;
    }
    
    #search div {
        height: 35px;
    }
    
    #footer {
        height: 105px;
    }
    
    #header h1, #header h1 a {
        height: 168px;
    }
    
    #map_canvas {
        height: 385px;
    }
    
    body {
        left: 50%;
    }
    
    div.loginregister {
        line-height: 25px;
    }
    
    #search div {
        line-height: 35px;
    }
    
    ul.stores li img {
        max-height: 127px;
    }
    
    ul.stores li img {
        max-width: 127px;
    }
    
    body {
        position: relative;
    }
    
    #footer {
        position: static;
    }
    
    #zip {
        width: 50px;
    }
    
    #query {
        width: 150px;
    }
    
    div.loginregister, #navigation ul {
        width: 200px;
    }
    
    #navigation, #footer ul li {
        width: 230px;
    }
    
    form div label {
        width: 250px;
    }
    
    ul.stores li ul li {
        width: 275px;
    }
    
    ul.stores li div {
        width: 337px; 
    }
    
    ul.stores li {
        width: 495px;
    }
    
    #map_canvas {
        width: 513px;
    }
    
    #content, .catTable {
        width: 515px;
    }
    
    #search div {
        width: 650px;
    }
    
    body, #header h1 a {
        width: 777px;
    }
    
    .catRowEven, .catRowOdd {
        width: 100%;
    }
    
    /* List Style Settings */
    
    #navigation ul li, #footer ul li, ul.stores li {
        list-style: none;
    }
    
    ul.stores li ul li {
        list-style: disc;
    }

    /* Float Settings */
    
    #footer, form div {
        clear: both;
    }

    #navigation, ul.stores li img {
        float: right;
    }
    
    #content, #footer ul li, form div label {
        float: left;
    }
    
    #search div label {
        float: none;
    }
    
    /* Image Settings */
    
    #header h1 {
        background-image: url('../images/header.jpg');
    }
    
    #footer {
        background-image: url('../images/footer.png');
    }
}

@media print
{
    /* Font Settings */
    
    /* Alignment Settings */

    /* Border, Margin, & Padding Settings */
    
    body {
        margin-left: 0;
    }
    
    /* Color Settings */
    
    /* Dimensions, Display, & Positioning Settings */
    
    .print {
        display: block;
    }
    
    #header div.loginregister, #header form, #navigation, #footer {
        display: none;
    }
    
    body, #header h1 {
        height: auto;
    }
    
    body {
        left: 0;
    }

    body {
        width: auto;
    }
    /* List Style Settings */

    /* Float Settings */

    /* Image Settings*/
    
    #header h1, #footer {
        background-image: none;
    }
}